package com.example.patient.jpa;

import com.example.common.entity.DrAndPatients;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author wxy
 * @Date 2021/1/26 11:27
 * @Version 1.0
 */
public interface DrAndPatientsRepository extends JpaRepository<DrAndPatients, Long> {

    DrAndPatients findFirstByDcIdAndPid(Long dcId, Long pid);
}
